package com.thz.houserental.domain.tenant;

import com.baomidou.mybatisplus.extension.service.IService;

public interface TenantService extends IService<Tenant> {
    /**
     * 检查房屋出租状态是否满足预期结果
     * @param houseId 房屋id
     * @param shouldExist 是否理应处于出租状态
     */
    void checkByHouseId(String houseId, boolean shouldExist);
    
    void register(Tenant tenant);
    
    void checkOut(Tenant tenant);
}
